(in-package :webwidgets)

(define-condition invalid-node (error)
  ((datum :initarg :datum :reader datum
	  :documentation "The object which was being erroneously
treated as a node"))
  (:documentation "Error raised when an object which is not a valid
XMLS node is being treated as one. The only valid types that may be
treated as XMLS nodes are specially formatted lists and strings."))

(define-restart-function convert-to-string)